package com.service;

import com.dao.GradeDao;
import com.domain.Grade;

public class GradeService {
    private GradeDao gradeDao = new GradeDao();

    public static void updateGrade(int gradeId,int chinese, int math, int english, int java, int oracle) {
        GradeDao.updateGrade(gradeId,chinese,math,english,java,oracle);
    }

    public static void deleteGrade(int gradeId) {
        GradeDao.deleteGrade(gradeId);
    }
}
